package com.audaque.springboot.foshanupload.websocket.config;

import com.audaque.springboot.foshanupload.core.component.ApplicationContextProvider;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * @author zgb
 * @desc 开启WebSocket支持
 * @date 2023-07-26 19:01:20
 */
@Configuration
public class WebSocketConfig {
    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }



}
